package com.pig4cloud.pig.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.model.api.entity.ModelSortEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ModelSortMapper extends BaseMapper<ModelSortEntity> {

	IPage getListpage(Page page, @Param("name")String name,@Param("status")Integer status);

	ModelSortEntity getBySortId(@Param("id")Long id);


}
